<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>微信授权登录</title>
</head>
<body>
    <div style="width: 300px;height: 300px;border: 1px solid #ffffff;margin: 200px auto;">
        <div id="login_container"></div>
    </div>
    <script src="http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
    <script>
         var obj = new WxLogin({
         self_redirect:false,
         id:"login_container",
         appid: "wxf21cb609cb84dc54",
         scope: "snsapi_login",
         redirect_uri: encodeURIComponent("http://www.5xclass.cn/wx/auth")
         });
    </script>
</body>
</html>